package org.geek.domain;

import java.io.Serializable;

/**
 * 角色表
 */
public class Role implements Serializable {
	
	private static final long serialVersionUID = -7686364876310083442L;

	private int roleId;

	private String roleName;

	private String roleDesc;
	
	private int parentId;
	
	private transient String parentName;
	
	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleDesc() {
		return roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
}